PGetSuppressAutosave
Gets the status (suppressed or activated) of the automatic mini-save feature.
Query results
This query returns a boolean value indicating: false
if automatic mini-save feature activated, and true if automatic mini-save
feature suppressed
When mini-saves occur. PageMaker performs a mini-save if you have
changed your publication and you:
- Print.
- Copy, insert, or delete a page.
- Switch between the story and layout views.
- Move to another page.
- Click the current page icon.
- Change page setup.
- Switch from the Find, Change, or Spelling dialog box back to a story.
- Switch between stories in story editor.
Caution: Always turn off SuppressAutosave when plug-in finishes.
Always turn off the PSuppressAutosave command before returning control back
to PageMaker. This command has no menu equivalent, so you must use it again
to reactive mini-saves. (The automatic mini-save feature is a safe guard
and allows you to recover previous work by using the PRevert
command or by pressing the Option key while selecting File > Revert.)
Example. The following example queries for the status of mini-saves.
It changes the suppress state with the PSuppressAutosave
command and does an explicit mini-save with the PMiniSave
command.
PGetSuppressAutosave saveState;
PSuppressAutosave(true);
...
PMiniSave();
...
PSuppressAutosave(saveState);
Copyright © 1996, Adobe Systems Incorporated. All rights reserved.
Comments or suggestions? Contact Adobe
Developer Support